public class Zhang {
    public interface Fly{
        void fly();
    }
    public interface Run{
        void run();
    }
    public class Pig implements Fly,Run{
        @Override
        public void fly(){
            System.out.println("zhanggongshun");
        }
        @Override
        public void run(){
            System.out.println("huipaode");
        }
        public static void main(String[] args){
            Pig pig = new Pig();
            pig.fly();
            pig.fly();
        }
    }
}
